Optimal. Leaf size=45 \[ \frac{d+e x}{2 c^2 \left (a^2-c^2 x^2\right )}-\frac{e \tanh ^{-1}\left (\frac{c x}{a}\right )}{2 a c^3} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.0585857, antiderivative size = 45, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.095 \[ \frac{d+e x}{2 c^2 \left (a^2-c^2 x^2\right )}-\frac{e \tanh ^{-1}\left (\frac{c x}{a}\right )}{2 a c^3} \]
Antiderivative was successfully verified.
[In] Int[(x*(d + e*x))/(a^2 - c^2*x^2)^2,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 12.0386, size = 34, normalized size = 0.76 \[ \frac{d + e x}{2 c^{2} \left (a^{2} - c^{2} x^{2}\right )} - \frac{e \operatorname{atanh}{\left (\frac{c x}{a} \right )}}{2 a c^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(x*(e*x+d)/(-c**2*x**2+a**2)**2,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0445996, size = 42, normalized size = 0.93 \[ \frac{\frac{c (d+e x)}{a^2-c^2 x^2}-\frac{e \tanh ^{-1}\left (\frac{c x}{a}\right )}{a}}{2 c^3} \]
Antiderivative was successfully verified.
[In] Integrate[(x*(d + e*x))/(a^2 - c^2*x^2)^2,x]
[Out]
_______________________________________________________________________________________
Maple [B] time = 0.016, size = 96, normalized size = 2.1 \[ -{\frac{e\ln \left ( cx+a \right ) }{4\,a{c}^{3}}}-{\frac{e}{4\,{c}^{3} \left ( cx+a \right ) }}+{\frac{d}{4\,a{c}^{2} \left ( cx+a \right ) }}+{\frac{e\ln \left ( cx-a \right ) }{4\,a{c}^{3}}}-{\frac{e}{4\,{c}^{3} \left ( cx-a \right ) }}-{\frac{d}{4\,a{c}^{2} \left ( cx-a \right ) }} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(x*(e*x+d)/(-c^2*x^2+a^2)^2,x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 0.686012, size = 78, normalized size = 1.73 \[ -\frac{e x + d}{2 \,{\left (c^{4} x^{2} - a^{2} c^{2}\right )}} - \frac{e \log \left (c x + a\right )}{4 \, a c^{3}} + \frac{e \log \left (c x - a\right )}{4 \, a c^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((e*x + d)*x/(c^2*x^2 - a^2)^2,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.272542, size = 108, normalized size = 2.4 \[ -\frac{2 \, a c e x + 2 \, a c d +{\left (c^{2} e x^{2} - a^{2} e\right )} \log \left (c x + a\right ) -{\left (c^{2} e x^{2} - a^{2} e\right )} \log \left (c x - a\right )}{4 \,{\left (a c^{5} x^{2} - a^{3} c^{3}\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((e*x + d)*x/(c^2*x^2 - a^2)^2,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 1.91618, size = 44, normalized size = 0.98 \[ - \frac{d + e x}{- 2 a^{2} c^{2} + 2 c^{4} x^{2}} + \frac{e \left (\frac{\log{\left (- \frac{a}{c} + x \right )}}{4} - \frac{\log{\left (\frac{a}{c} + x \right )}}{4}\right )}{a c^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x*(e*x+d)/(-c**2*x**2+a**2)**2,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.27324, size = 85, normalized size = 1.89 \[ -\frac{x e + d}{2 \,{\left (c^{2} x^{2} - a^{2}\right )} c^{2}} - \frac{e{\rm ln}\left ({\left | c x + a \right |}\right )}{4 \, a c^{3}} + \frac{e{\rm ln}\left ({\left | c x - a \right |}\right )}{4 \, a c^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((e*x + d)*x/(c^2*x^2 - a^2)^2,x, algorithm="giac")
[Out]